|
|
|
| |
|
|
|
|
form and around palettes and frames. Because border widths should be set at 120 twips, make sure that you can see two grid dots between the edge of the form and the edge of any other control (panel, command button, and so on). |
|
|
|
|
|
|
|
|
· Remember that controls should be separated from each other by at least 90 twips. The value of 90 twips is an odd value when compared to the 60 twips between items and the 120 twips between borders. This odd spacing causes the user to break up the sections of the form a bit. This makes it easy for the user to see the separation between controls. When placing controls in a vertical line, use the Top property to determine where the control appears on the form. Because each control is 330 twips in height and the controls must be 90 twips apart, add 420 twips (330 + 90) to the Top value to determine where the next control should appear underneath. |
|
|
|
|
|
|
|
|
|
|
Figure 4.12.
The color-switching project. |
|
|
|
|
| Table 4.3. Controls for the Color-Switching project. | | Control | Property | Setting | | Form | Caption | Color-Switching | | Name | frmColor | | SSPanel | Caption | (set to blank) | | Name | pnlPalette | | Text box | Name | txtOneLine | | FontBold | False | | Height | 300 | | Width | 1800 | | SSPanel | Name | pnlDisplayOnly | | FontBold | False |
|
|
|
|
|
|
(table continued on next page) |
|
|
|
|
|